﻿using System;

namespace Core
{
    public static class Tiles
    {
        public static Tile A = new Tile("A", 1);
        public static Tile B = new Tile("B", 3);
        public static Tile C = new Tile("C", 4);
        public static Tile D = new Tile("D", 2);
        public static Tile E = new Tile("E", 1);
        public static Tile F = new Tile("F", 4);
        public static Tile G = new Tile("G", 2);
        public static Tile H = new Tile("H", 4);
        public static Tile I = new Tile("I", 1);
        public static Tile J = new Tile("J", 8);
        public static Tile K = new Tile("K", 8); // GUESS
        public static Tile L = new Tile("L", 2);
        public static Tile M = new Tile("M", 2); // GUESS
        public static Tile N = new Tile("N", 2);
        public static Tile O = new Tile("O", 1);
        public static Tile P = new Tile("P", 3);
        public static Tile Q = new Tile("Q", 10); // GUESS
        public static Tile R = new Tile("R", 1);
        public static Tile S = new Tile("S", 1);
        public static Tile T = new Tile("T", 1);
        public static Tile U = new Tile("U", 2);
        public static Tile V = new Tile("V", 5);
        public static Tile W = new Tile("W", 5);
        public static Tile X = new Tile("X", 8);
        public static Tile Y = new Tile("Y", 5);
        public static Tile Z = new Tile("Z", 10);

        public static Random Random = new Random();
        public static Tile[] AllTiles = new Tile[] { A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z };

        public static Tile GetRandomTile()
        {
            return AllTiles[ Random.Next(0, AllTiles.Length)];
        }
    }
}
